<?php
/**
 * Created by PhpStorm.
 * User: ly
 * Date: 2017/2/15
 * Time: 16:23
 */
//控制器
namespace App\Http\Controllers;

use App\Member;

class MemberController extends Controller{

    public function info()
    {
        //        return 'member-info';
        //        return route('memberinfo');
        //       return 'member-info-id-' . $id;
        /*return view('Member/info',[
            'name' => 'lampknight',
            'age'  => '20',
            'id'   => $id
        ]);*/

        //调用模型
        return Member::getMember();
    }
}